<template>
  <div class="main">
    <el-container >
      <el-header><home-header></home-header></el-header>
  <el-container >
    <home-aside class="el-aside"></home-aside>
    <el-main id="scroll">
      <router-view></router-view>
    </el-main>
  </el-container>
  </el-container>
  </div>
</template>

<script>
import HomeHeader from './home/header.vue'
import HomeAside from './home/aside.vue'
export default {
  name: 'home',
  components: {
    HomeHeader,
    HomeAside
  }
}
</script>

<style scoped>
body{
  margin:0px;
  padding: 0px;
}
.el-header, .el-footer {
    background-color: #FFFFFF;
    color: #333;
    line-height: 60px;
  }
.el-aside {
    /* background-color: #007d65; */
    color: white;
  }
.el-main {
    background-color: #E9EEF3;
    color: #333;
    line-height: 160px;
    padding: 20px 0px 20px 20px;
  }
#scroll{
  overflow-x: hidden;
  overflow-y:hidden;
  height: 800px;
}
.main{
  height: 800px;
}
</style>
